<template>
  <div>
    <div class="quarter-picker">
      <quarter-picker v-model="dataValue" style="margin-bottom: 50px"></quarter-picker>
      <quarter-range
        v-model="dataRange"
        :type="dataType"
        readonly
        range-separator="至"
        start-placeholder="开始日期"
        end-placeholder="结束日期"
      ></quarter-range>
    </div>
  </div>
</template>

<script>
import quarterPicker from "@/components/quarter-picker";
import quarterRange from "@/components/quarter-range";
export default {
  components: {
    quarterPicker,
    quarterRange
  },
  data() {
    return {
      dataValue: "",
      dataRange: "",
      dataType: "yearrange"
    };
  }
};
</script>

<style lang="scss">
.quarter-picker {
  width: 500px;
  margin: 200px auto;
}
</style>
